package com.stx.stcp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//mybatis扫描包路径
@MapperScan("com.stx.stcp.mapper")
//开启事务管理
@EnableTransactionManagement

public class StcpApplication {

	public static void main(String[] args) {
		SpringApplication.run(StcpApplication.class, args);
	}

}
